const state = () => {
  return {
    profile: {
      id: 10,
      avatar: '',
      nickname: '陈奕迅',
      account: '',
      mobile: '15626230051',
      token: ''
    }
  }
}
const mutations = {
  setUser(state, payload) {
    state.profile = payload
    console.log(state);
  }
}
const actions = () => {

}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}
